// samsting : this file is auto create.

#include "Slb/2014-05-15/AddBackendServersResponse.h"

namespace aliyun { namespace Slb {

AddBackendServersResponse::AddBackendServersResponse() {
}

const string& AddBackendServersResponse::BackendServer::GetServerId(void) const {
  return ServerId_;
}

const string& AddBackendServersResponse::BackendServer::GetWeight(void) const {
  return Weight_;
}

const std::vector<AddBackendServersResponse::BackendServer>& AddBackendServersResponse::GetBackendServers(void) const {
  return BackendServers_;
}

const string& AddBackendServersResponse::GetLoadBalancerId(void) const {
  return LoadBalancerId_;
}

const char* AddBackendServersResponse::BaseKey(void) {
  return "AddBackendServersResponse";
}

void AddBackendServersResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int BackendServers__length = 0;
  UnmarshallerInt(BackendServers__length, response_map, "AddBackendServersResponse.BackendServers.Length");
  if(BackendServers__length >= 0) {
    BackendServers_.resize(BackendServers__length);
    for(int i1 = 0; i1 < BackendServers__length; i1++) {
      UnmarshallerString(BackendServers_[i1].ServerId_, response_map, "AddBackendServersResponse.BackendServers["+string_ValueOfInt(i1)+"].ServerId");
      UnmarshallerString(BackendServers_[i1].Weight_, response_map, "AddBackendServersResponse.BackendServers["+string_ValueOfInt(i1)+"].Weight");
    } // for(int i1 = 0; i1 < BackendServers__length; i1++) {
  } // if(BackendServers__length >= 0) {

  UnmarshallerString(LoadBalancerId_, response_map, "AddBackendServersResponse.LoadBalancerId");
}


} } // namespace aliyun { namespace Slb {

// end of file 
